home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Virtual User / Virtual User Current Release / Examples / Example External Tools / ProcessTool / VUTool.make < prev   
Encoding:
Text File  |  1998-06-04  |  7.9 KB  |  275 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        VUTool.make
  3. #
  4. #    Contains:    xxx put contents here xxx
  5. #
  6. #    Written by:    Rick Violet
  7. #
  8. #    Copyright:    © 1992-1994 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #    Change History (most recent first):
  11. #
  12. #         <2>     3/22/94    CMW        Add AEUserTermTypes.r to RezSources.
  13. #                11/18/92    RV        xxx put comment here xxx
  14. #
  15. #    To Do:
  16. #
  17.  
  18. #————————————————————————————————————————————————————————————————————
  19. #———————————————————————————————————————————————    Key Names
  20. MainTarget        =    VUTool
  21. AppSignature    =    VUTL
  22.  
  23. #————————————————————————————————————————————————————————————————————
  24. #———————————————————————————————————————————————    Folder/File names
  25. ObjectDir        =    :Objects:
  26. CPlusDump        =    "CPlusDump"
  27. CPlusDumpDir    =    :
  28.  
  29. #————————————————————————————————————————————————————————————————————
  30. #———————————————————————————————————————————————    TOOL OPTIONS
  31. Model                =    -model far
  32. Sym                    =    -sym   full
  33. Mbg                    =    -mbg   full
  34. PascalOptions         =    {Model} {Sym} {Mbg} -mf -m
  35. AsmOptions             =    {Model} {Sym} 
  36. CPlusDefines         =    -d __UseStream__ -d __UseBusyCursor__
  37. CPlusOptions         =    {CPlusDefines} {Model} {Sym} {Mbg} -mf -m
  38. CPlusDumpOptions    =    -dump {CPlusDumpDir}
  39. CPlusLoad             =    -load {CPlusDumpDir}CPlusDump.h.dump
  40. RezOptions             =    -a
  41. LinkOptions         =    {Model} {Sym} -t APPL -c {AppSignature} -mf -d -srt
  42. SetFileOptions        =    -a Bi
  43.  
  44. #————————————————————————————————————————————————————————————————————
  45. #———————————————————————————————————————————————    RezHeaders
  46. RezHeaders    = ∂
  47.              Application.r.h ∂
  48.              RequestDispatcher.r.h ∂
  49.  
  50. #————————————————————————————————————————————————————————————————————
  51. #———————————————————————————————————————————————    RezSources
  52. RezSources    = ∂
  53.              AEUserTermTypes.r ∂
  54.              Application.r ∂
  55.              RequestDispatcher.r ∂
  56.  
  57. #————————————————————————————————————————————————————————————————————
  58. #———————————————————————————————————————————————    TargetObjs
  59. TargetObjs    = ∂
  60.              {ObjectDir}AERequest.cp.o ∂
  61.              {ObjectDir}Application.cp.o ∂
  62.              {ObjectDir}AService.cp.o ∂
  63.              {ObjectDir}List.cp.o ∂
  64.              {ObjectDir}MiscServices.cp.o ∂
  65.              {ObjectDir}Object.cp.o ∂
  66.              {ObjectDir}Request.cp.o ∂
  67.              {ObjectDir}RequestDispatcher.cp.o ∂
  68.              {ObjectDir}ScriptValue.cp.o ∂
  69.              {ObjectDir}Service.cp.o ∂
  70.              {ObjectDir}Stream.cp.o ∂
  71.  
  72. #————————————————————————————————————————————————————————————————————
  73. #———————————————————————————————————————————————    TargetLibs
  74. TargetLibs    =    ∂
  75.             "{CLibraries}"CPlusLib.o ∂
  76.             "{Libraries}"Interface.o ∂
  77.             "{Libraries}"Runtime.o ∂
  78.             "{Libraries}"ToolLibs.o ∂
  79.             "{CLibraries}"StdCLib.o ∂
  80.             
  81. #————————————————————————————————————————————————————————————————————
  82. #———————————————————————————————————————————————    Objects Directory
  83. {ObjectDir} ƒ :    
  84.  
  85. #————————————————————————————————————————————————————————————————————
  86. #———————————————————————————————————————————————    LINK
  87. {MainTarget}    ƒƒ    {TargetObjs} {TargetLibs} 
  88.     Link -o {Targ} {TargetObjs} {TargetLibs} {LinkOptions}
  89.     SetFile {Targ} {SetFileOptions}
  90.     Save -a
  91.     
  92. #————————————————————————————————————————————————————————————————————
  93. #———————————————————————————————————————————————    REZ
  94. {MainTarget} ƒƒ {RezHeaders} {RezSources}
  95.     Rez {RezSources} -o {Targ} {RezOptions}
  96.  
  97. #————————————————————————————————————————————————————————————————————
  98. #———————————————————————————————————————————————    CPlusDump
  99.     
  100. "{CPlusDumpDir}CPlusDump.h.dump" ƒ "{CPlusDumpDir}CPlusDump.h"
  101.     CPlus  "{CPlusDumpDir}CPlusDump.h" -o "{CPlusDumpDir}CPlusDump.h.o"  {CPlusOptions} {CPlusDumpOptions} 
  102.  
  103. "{CPlusDumpDir}CPlusDump.h.o" ƒ "{CPlusDumpDir}CPlusDump.h.dump"
  104.     IF ! `Exists "{CPlusDumpDir}CPlusDump.h.o"`
  105.         CPlus  "{CPlusDumpDir}CPlusDump.h" -o "{CPlusDumpDir}CPlusDump.h.o"  {CPlusOptions} {CPlusDumpOptions} 
  106.     END
  107.     
  108. #————————————————————————————————————————————————————————————————————
  109. #———————————————————————————————————————————————    CPLUS
  110. .cp.o ƒ .cp
  111.     CPlus  {default}.cp -o {Targ} {CPlusOptions} {CPlusLoad} 
  112.  
  113. #————————————————————————————————————————————————————————————————————
  114. #———————————————————————————————————————————————    PASCAL
  115. .p.o ƒ .p
  116.     Pascal  {default}.p -o {Targ} {CPlusOptions} {CPlusLoad} 
  117.  
  118. #————————————————————————————————————————————————————————————————————
  119. #———————————————————————————————————————————————    ASM
  120. .a.o ƒ .a
  121.     Asm  {default}.a -o {Targ} {AsmOptions}
  122.     
  123. #————————————————————————————————————————————————————————————————————
  124. #———————————————————————————————————————————————    Dependency rules
  125.  
  126. #————————————————————————————————————————————————————————————————————
  127. #———————————————————————————————————————————————    AERequest
  128. "{ObjectDir}AERequest.cp.o"    ƒ    ∂
  129.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  130.         "AERequest.cp"    ∂
  131.         "AERequest.h"    ∂
  132.         "List.h"    ∂
  133.         "Object.h"    ∂
  134.         "Request.h"    ∂
  135.         "RequestDispatcher.h"    ∂
  136.         "RequestDispatcher.r.h"    ∂
  137.         "ScriptValue.h"    ∂
  138.         "Service.h"    ∂
  139.         "VUAE.h"
  140.  
  141.  
  142. #————————————————————————————————————————————————————————————————————
  143. #———————————————————————————————————————————————    Application
  144. "{ObjectDir}Application.cp.o"    ƒ    ∂
  145.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  146.         "Application.cp"    ∂
  147.         "AERequest.h"    ∂
  148.         "Application.h"    ∂
  149.         "List.h"    ∂
  150.         "Object.h"    ∂
  151.         "Request.h"    ∂
  152.         "RequestDispatcher.h"    ∂
  153.         "RequestDispatcher.r.h"    ∂
  154.         "ScriptValue.h"    ∂
  155.         "Service.h"    ∂
  156.         "VUAE.h"
  157.  
  158.  
  159. #————————————————————————————————————————————————————————————————————
  160. #———————————————————————————————————————————————    AService
  161. "{ObjectDir}AService.cp.o"    ƒ    ∂
  162.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  163.         "AService.cp"    ∂
  164.         "AService.h"    ∂
  165.         "List.h"    ∂
  166.         "Object.h"    ∂
  167.         "Request.h"    ∂
  168.         "RequestDispatcher.h"    ∂
  169.         "RequestDispatcher.r.h"    ∂
  170.         "ScriptValue.h"    ∂
  171.         "Service.h"    ∂
  172.         "VUAE.h"
  173.  
  174.  
  175. #————————————————————————————————————————————————————————————————————
  176. #———————————————————————————————————————————————    List
  177. "{ObjectDir}List.cp.o"    ƒ    ∂
  178.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  179.         "List.cp"    ∂
  180.         "List.h"    ∂
  181.         "Object.h"
  182.  
  183.  
  184. #————————————————————————————————————————————————————————————————————
  185. #———————————————————————————————————————————————    MiscServices
  186. "{ObjectDir}MiscServices.cp.o"    ƒ    ∂
  187.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  188.         "MiscServices.cp"    ∂
  189.         "Application.h"    ∂
  190.         "List.h"    ∂
  191.         "MiscServices.h"    ∂
  192.         "Object.h"    ∂
  193.         "Request.h"    ∂
  194.         "RequestDispatcher.h"    ∂
  195.         "RequestDispatcher.r.h"    ∂
  196.         "ScriptValue.h"    ∂
  197.         "Service.h"    ∂
  198.         "VUAE.h"
  199.  
  200.  
  201. #————————————————————————————————————————————————————————————————————
  202. #———————————————————————————————————————————————    Object
  203. "{ObjectDir}Object.cp.o"    ƒ    ∂
  204.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  205.         "Object.cp"    ∂
  206.         "Object.h"
  207.  
  208.  
  209. #————————————————————————————————————————————————————————————————————
  210. #———————————————————————————————————————————————    Request
  211. "{ObjectDir}Request.cp.o"    ƒ    ∂
  212.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  213.         "Request.cp"    ∂
  214.         "List.h"    ∂
  215.         "Object.h"    ∂
  216.         "Request.h"    ∂
  217.         "RequestDispatcher.h"    ∂
  218.         "RequestDispatcher.r.h"    ∂
  219.         "ScriptValue.h"    ∂
  220.         "Service.h"    ∂
  221.         "VUAE.h"
  222.  
  223.  
  224. #————————————————————————————————————————————————————————————————————
  225. #———————————————————————————————————————————————    RequestDispatcher
  226. "{ObjectDir}RequestDispatcher.cp.o"    ƒ    ∂
  227.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  228.         "RequestDispatcher.cp"    ∂
  229.         "Application.h"    ∂
  230.         "List.h"    ∂
  231.         "MiscServices.h"    ∂
  232.         "Object.h"    ∂
  233.         "Request.h"    ∂
  234.         "RequestDispatcher.h"    ∂
  235.         "RequestDispatcher.r.h"    ∂
  236.         "ScriptValue.h"    ∂
  237.         "Service.h"    ∂
  238.         "VUAE.h"
  239.  
  240.  
  241. #————————————————————————————————————————————————————————————————————
  242. #———————————————————————————————————————————————    ScriptValue
  243. "{ObjectDir}ScriptValue.cp.o"    ƒ    ∂
  244.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  245.         "ScriptValue.cp"    ∂
  246.         "Object.h"    ∂
  247.         "ScriptValue.h"    ∂
  248.         "VUAE.h"
  249.  
  250.  
  251. #————————————————————————————————————————————————————————————————————
  252. #———————————————————————————————————————————————    Service
  253. "{ObjectDir}Service.cp.o"    ƒ    ∂
  254.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  255.         "Service.cp"    ∂
  256.         "Application.h"    ∂
  257.         "List.h"    ∂
  258.         "Object.h"    ∂
  259.         "Request.h"    ∂
  260.         "RequestDispatcher.h"    ∂
  261.         "RequestDispatcher.r.h"    ∂
  262.         "ScriptValue.h"    ∂
  263.         "Service.h"    ∂
  264.         "VUAE.h"
  265.  
  266.  
  267. #————————————————————————————————————————————————————————————————————
  268. #———————————————————————————————————————————————    Stream
  269. "{ObjectDir}Stream.cp.o"    ƒ    ∂
  270.         {CPlusDumpDir}{CPlusDump}.h.dump    ∂
  271.         "Stream.cp"    ∂
  272.         "Object.h"    ∂
  273.         "Stream.h"
  274.  
  275.